/*
 * @Author: qinuoyun
 * @Date:   2019-10-30 10:12:26
 * @Last Modified by:   wiki
 * @Last Modified time: 2020-01-02 17:37:39
 */
export default {
    data: {
        style: {},
        class: [],
        //数据绑定  
        bind: {
            value:''
        },
        //绑定指令
        directive: {},
        //标签属性
        attribute: {
            disabled: false,
            "active-color": "#13ce66",
            "inactive-color": "#ff4949",
            "active-value": 1,
            "inactive-value": 0,
            "active-text": '',
            "inactive-text": '',
            "active-icon-class": '',
            "inactive-icon-class": '',
        },
        //事件设置
        action: [{
            type:'',
            name:''
        }],
        //选项设定
        options: {},
    },
    components: () => import('./index.vue'),
    attributes: [{
        title: "设置属性",
        components: () =>
            import ('./attribute.vue'),
        data: {}
    }, {
        title: "设置数据",
        components: () =>
            import ('./bind.vue'),
        data: {}
    }, {
        title: "设置事件",
        components: () =>
            import ('./action.vue'),
        data: {}
    }],
    regulation: {
        amount: 24,
        scope: false
    },
    slot: [

    ],
    name: 'el-switch',
    title: '开关按钮',
    icon: 'el-icon-eleme'
}